home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d18
/
turbotut.arc
/
INTVAR2.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1989-06-30
|
298b
|
18 lines
PROGRAM more_integer_demos;
VAR x,y : INTEGER;
count : INTEGER;
BEGIN
x := 12;
y := 13;
count := x + y;
WRITE('The value of x is');
WRITELN(x:4);
WRITE('The value of y is');
WRITELN(y:5);
WRITE('And count is now ');
WRITE(count:6);
WRITELN;
END.